Tootsville::Endpoint-Get-/ Toots/ Toot-Name→Json

Function

Endpoint-Get-/ Toots/ Toot-Name→Json names a function, with lambda list (TOOT-NAME):

Get public info about TOOT-NAME

TOOT-NAME is the name of a Toot or other character-type avatar in the game. This endpoint will return the public information about TOOT-NAME in the format described by TOOTSVILLE TOOT-INFO.

200 OK

Note that the HTTP Last-Modified header will be set to the TOOTSVILLE TOOT-LAST-ACTIVE time of the Toot character.

The body of the response will be the public information about TOOT-NAME in the form described at TOOTSVILLE TOOT-INFO.

404 Not Found

This is returned if TOOT-NAME does not name a character in the game.

Web Service Endpoint

This is a web service endpoint accessed by the HTTP method GET at the URI template /toots/:toot-name. It returns a content-type of application/json.

TOOT-NAME is a parameter from the URI.

It will report a slow response if it takes longer than 0.03 seconds (30 milliseconds) to complete.

File

Defined in file src/endpoints/slash-toots.lisp.